package com.example.config;

import com.example.utils.MqttUtil;
import com.isyscore.boot.mqtt.MqttTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

/**
 * 类描述
 *
 * @author: Fred
 * @email 453086@qq.com
 * @create: 2024-10-19 16:25
 */
@Configuration
public class MqttConfiguration {

    @Autowired
    public MqttConfiguration(MqttTemplate mqttTemplate) {
        MqttUtil.mqttTemplate = mqttTemplate;
    }
}
